package com.frxuexi.lib_http

import com.zyj.retrofit.adapter.FlowCallAdapterFactory
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory

class NoneRetrofit:BaseRetrofit() {
    override fun createRetrofit(): Retrofit {
        return Retrofit.Builder()
            .client(createOkHttpBuild().build())
            .baseUrl(Concast.BASE_URL)
            .addConverterFactory(GsonConverterFactory.create())
            .addCallAdapterFactory(FlowCallAdapterFactory.create())
            .build()
    }
}